﻿namespace CemsTransfer.Service
{
    public static class SerialExtensions
    {
        public static IApplicationBuilder UseSerialServer(this IApplicationBuilder app)
        {
            var server = app.ApplicationServices.GetRequiredService<SerialProcess>();

            return app;
        }
    }
}
